package com.cwd.arm.infrastructure.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cwd.arm.infrastructure.po.MsgRecipientPo;

import java.util.List;

/**
 * Description:消息接受者
 * Created on 2022年01月15日
 *
 * @author yan
 */
public interface MsgRecipientDao extends IService<MsgRecipientPo> {

    void readByCurrentUser(Long msgId);

    List<MsgRecipientPo> selectByMsgId(Long msgId);

    void removedByRecipientIdsAndMsgId(Long msgId, List<Long> recipientId);
}
